Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Move some functions from 'replica' to 'replica_stub' #1384

Merged
merged 1 commit into from
Mar 8, 2023

Conversation

acelyc111
Copy link
Member

#1383

This is a refactor patch before fixing #1383. This patch has no functionality changes, but just including refactors:

  1. Moves functions load(), newr() and clear_on_failure() from class replica to class replica_stub, and the first two have been renamed to load_replica() and new_replica().
  2. Encapsulates a new function move_to_err_path.
  3. Some minor refactors like fix typo.

@github-actions github-actions bot added the cpp label Mar 6, 2023
@empiredan empiredan merged commit 37434d2 into apache:master Mar 8, 2023
@empiredan empiredan mentioned this pull request Aug 21, 2023
GehaFearless pushed a commit to GehaFearless/incubator-pegasus that referenced this pull request Feb 28, 2024
…ub' (apache#1384)

对应的社区commit: https://github.com/apache/incubator-pegasus/pull/1384/files

apache#1383

This is a refactor patch before fixing apache#1383. This patch has no functionality changes, but just including refactors:

1. Moves functions `load()`, `newr()` and `clear_on_failure()` from class replica to class replica_stub, and the first two have been renamed to `load_replica()` and `new_replica()`.
2. Encapsulates a new function `move_to_err_path`.
3. Some minor refactors like fix typo.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants